<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增用户</title>
    <!-- 加载 Bootstrap 样式 -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.5.0/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    <!-- 表单 -->
    <form th:action="@{/adduser}" method="post">

        <!-- 姓名输入 -->
        <div class="form-group">
            <label for="name">姓名：</label>
            <input type="text" class="form-control" id="name" name="name" required>
        </div>

        <!-- 邮箱输入 -->
        <div class="form-group">
            <label for="phone">电话：</label>
            <input  class="form-control" id="phone" name="phone" required>
        </div>

        <!-- 留言输入 -->
        <div class="form-group">
            <label for="password">密码：</label>
            <textarea class="form-control" id="password" name="password"  required></textarea>
        </div>

        <!-- 提交按钮 -->
        <button type="submit" class="btn btn-primary">提交</button>
    </form>
</div>

<!-- 加载 jQuery 和 Bootstrap 核心 JavaScript -->
<script src="https://cdn.staticfile.org/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.5.0/js/bootstrap.min.js"></script>
</body>
</html>